@keyframes scale {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.08);
  }

  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.08);
  }
}

.index-container {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #F6F6F6;
  display: flex;
  flex-flow: column;

  .room-popup-container {
    width: 100%;
    border-radius: 20rpx 20rpx 0 0;
    box-sizing: border-box;
    position: relative;
    background: #F6F6F6;

    .footer-wrap {
      margin-top: 40rpx;
      padding: 0 32rpx;

      .footer {
        width: 100%;
        background: #FFFFFF;
        box-shadow: 0 8rpx 22rpx 0 rgba(188, 218, 190, 0.25);
        border-radius: 20rpx 20rpx 0 0;
        display: flex;
        align-items: center;
        padding: 24rpx 32rpx 14rpx 48rpx;
        box-sizing: border-box;
        justify-content: space-between;

        .right {
          display: flex;

          .btn-item {
            padding: 6rpx 28rpx 4rpx;
            border-radius: 20rpx 20rpx 0 0;
            opacity: 1;
            border: 2rpx solid #C5996A;
            box-sizing: border-box;
            display: flex;
            flex-flow: column;
            align-items: center;
            justify-content: center;
            --color: #C5996A;
            --bg: #FFFFFF;
            background-color: var(--bg);

            &.active {
              --color: #FFFFFF;
              --bg: #C5996A;
              margin-left: 16rpx;
            }

            .title-1 {
              font-size: 28rpx;
              font-weight: bold;
              color: var(--color);
              line-height: 33rpx;
            }

            .title-2 {
              font-size: 24rpx;
              font-weight: bold;
              color: var(--color);
              line-height: 28rpx;
            }
          }
        }

        .left {
          display: flex;
          flex-flow: column;
          align-items: flex-start;

          .tip {
            height: 30rpx;
            font-size: 22rpx;
            font-weight: bold;
            color: #8C8C8C;
          }

          .check {
            display: flex;
            align-items: center;

            .label {
              height: 40rpx;
              font-size: 28rpx;
              font-weight: bold;
              color: #333333;
              margin-right: 4rpx;
            }

            .value {
              height: 56rpx;
              font-size: 40rpx;
              font-weight: bold;
              color: #000000;
            }
          }
        }
      }
    }

    .body-wrapper {
      margin-top: 32rpx;
      padding: 0 32rpx;
      box-sizing: border-box;

      .list-wrap {
        box-sizing: border-box;
        width: 100%;
        height: 560rpx;
        //display: grid;
        //grid-template-columns: repeat(3, 1fr);
        //gap: 22rpx;

        .swiper-box {
          width: 100%;
          height: 100%;
        }


        .list {
          //display: flex;
          //flex-wrap: wrap;
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 22rpx;
        }

        .list_li {
          text-align: center;
          //width: 162rpx;
          width: 100%;
          //padding: 24rpx 22rpx;
          box-sizing: border-box;
          background: #FFFFFF;
          border-radius: 12rpx;

          font-size: 28rpx;
          font-weight: bold;
          color: #999999;
        }

        .list_li.active {
          background: #F2EDDC;
          color: #C5996A;
        }

        .list_li.disable {
          background: #ccc;
          color: #fff;
        }


        .item {
          width: 100%;
          height: 136rpx;
          //padding: 24rpx 0;
          border-radius: 20rpx 20rpx 0 0;
          box-sizing: border-box;
          --color: #999999;
          --bg-color: #FFFFFF;
          background: var(--bg-color);
          display: flex;
          flex-flow: column;
          justify-content: center;

          &.status-1 {
            --bg-color: #C5996A;
            --color: #ffffff;
          }

          &.status-2 {
            --color: #E9A81F;
          }

          &.status-3 {
            --color: #C5996A;
          }

          &.status-4 {
            --color: #FFFFFF;
            --bg-color: #C5996A;
          }

          &.status-5 {
            --color: #C5996A;
            --bg-color: #F2EDDC;
          }

          .time-node {
            font-size: 28rpx;
            font-weight: bold;
            color: var(--color);
            text-align: center;
            display: flex;
            flex-flow: column;
            margin-top: 10rpx;

            .next {
              font-size: 24rpx;
            }

          }

          .header {
            display: flex;
            align-items: center;
            justify-content: center;

            .icon {
              width: 32rpx;
              height: 32rpx;
              margin-right: 6rpx;
            }

            .title {
              font-size: 28rpx;
              color: var(--color);
            }
          }
        }
      }
    }

    .container {
      background: #FFFFFF;
      padding: 40rpx 32rpx 32rpx 32rpx;

      .date-wrap {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 38rpx;
        background: #FFFFFF;

        .swiper-tab {
          width: 100%;
          display: flex;
          height: 120rpx;

          .swiper-tab-list {
            flex: 1;
            text-align: center;
            color: #000;
            height: 100%;
            font-size: 24rpx;
            display: flex;
            flex-flow: column;
            align-items: center;
            justify-content: center;
          }

          .swiper-tab-list .day {
            color: #000;
            font-size: 28rpx;
            margin-bottom: 2rpx;
          }

          .swiper-tab-list .icon {
            width: 25rpx;
            height: 29rpx;
            display: block;
            margin: 0 auto 10rpx;
          }

          .swiper-tab-list.on {
            background: #C5996A;
            color: #fff;
            border-radius: 20rpx 20rpx 0 0;
          }

          .swiper-tab-list.on .day {
            color: #fff;
          }

        }

        .date-item {
          display: flex;
          flex-flow: column;
          align-items: center;
          width: 112rpx;
          height: 112rpx;
          border-radius: 20rpx 20rpx 0 0;
          box-sizing: border-box;
          justify-content: center;

          &.active {
            background: #C5996A;

            .date-value {
              color: #FFFFFF;
            }
          }

          .date-value {
            font-size: 28rpx;
            font-weight: bold;
            color: #333333;
            line-height: 33rpx;
          }

        }
      }

      .notice-wrap {
        width: 100%;
        height: 48rpx;
        box-sizing: border-box;
        background: #F2EDDC;
        border-radius: 20rpx 20rpx 0 0;
        display: flex;
        align-items: center;
        padding: 0 22rpx;

        .notice-value {
          font-size: 20rpx;
          font-weight: bold;
          color: #C5996A;
          margin-left: 12rpx;
        }

        .notice-icon {
          width: 32rpx;
          height: 32rpx;
        }
      }

      .header {
        height: 56rpx;
        font-size: 40rpx;
        font-weight: bold;
        color: #333333;
        line-height: 56rpx;
        text-align: center;
        margin-bottom: 60rpx;
      }

    }

    .close-icon {
      position: absolute;
      width: 40rpx;
      height: 40rpx;
      top: 40rpx;
      right: 32rpx;
    }


  }


  .layer {
    width: 100%;
    height: 70vh;
    //background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    position: relative;
  }

  .layer_inner {
    width: 100%;
    height: 100%;
    border-radius: 12rpx 12rpx 0 0;
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    background: #fff;
    overflow: auto;
    padding-bottom: 92rpx;
  }

  .layer_inner .tips {
    display: flex;
    justify-content: center;
    color: #00B5DB;
    font-size: 28rpx;
    padding: 32rpx 18rpx 20rpx;
    border-bottom: 1rpx solid #E4E4E4;
    margin: 0 25rpx;
  }

  .layer_inner .tips image {
    width: 34rpx;
    height: 30rpx;
    margin-right: 16rpx;
  }

  .layer_inner .foot {
    bottom: 20rpx;
    width: 80%;
    left: 6%;
    background-color: #fff;
    position: fixed;
    padding: 32rpx;
    border-radius: 100rpx;
    justify-content: space-between;
  }

  .layer_inner .swiper-box {
    background-color: #f6f6f6;
  }

  .layer_inner .foot .btn {
    display: flex;

  }

  .layer_inner .foot_cancle,
  .layer_inner .foot_confirm {
    text-align: center;
    color: #80BFCF;
    font-size: 28rpx;
    border-radius: 50rpx;
    padding: 16rpx;
    margin: 0 auto;
  }

  .layer_inner .foot_cancle {
    border: 1rpx solid #80BFCF;
  }

  .layer_inner .foot_confirm {
    background: #00B5DB;
    color: #FFF;
    margin-left: 12rpx;
  }


  .layer_inner .swiper-tab-list {
    border-radius: 30rpx;
    flex: 1;
    text-align: center;
    color: #000;
    height: 97rpx;
    font-size: 24rpx;
    padding-top: 33rpx;
  }

  .layer_inner .swiper-tab-list .day {
    color: #000;
    font-size: 28rpx;
    margin-bottom: 2rpx;
  }

  .layer_inner .swiper-tab-list .icon {
    width: 25rpx;
    height: 29rpx;
    display: block;
    margin: 0 auto 10rpx;
  }

  .layer_inner .swiper-tab-list.on {
    background: #00B5DB;
    color: #fff;
  }

  .layer_inner .swiper-tab-list.on .day {
    color: #fff;
  }

  .layer_inner .list {
    display: flex;
    flex-wrap: wrap;
  }

  .layer_inner .list_li {
    text-align: center;
    font-size: 24rpx;
    width: 162rpx;
    height: 52rpx;
    line-height: 52rpx;
    background: #80BFCF;
    border-radius: 12rpx;
    margin-left: 20rpx;
    margin-top: 14rpx;
  }

  .layer_inner .list_li.active {
    background: #00B5DB;
    color: #fff;
  }

  .layer_inner .list_li.disable {
    background: #ccc;
    color: #fff;
  }

  .layer .timeClick {
    height: 500rpx;
    background-color: #f6f6f6;
    margin-bottom: 200rpx;
    margin-top: 32rpx;
    padding: 32rpx;
  }

  .layer .timeClick .boxs {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(3, 30%);
  }

  .layer .timeClick .boxs image {
    width: 32rpx;
    margin-right: 12rpx;
  }

  .layer .timeClick .box {
    margin-bottom: 24rpx;
    width: 214rpx;
    height: 136rpx;
    background: #E7E7E7;
    border-radius: 20rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 28rpx;
    color: #8C8C8C;
  }

  .layer .box.yellow {
    color: #E9A81F;
    background-color: #fff;
  }

  .layer .box.blue {
    color: #00b5db;
    background-color: #fff;
  }

  .layer .box.on {
    color: #fff;
    background-color: #00b5db;
  }

  .layer .box.yuding {
    color: #fff;
    background-color: #66d3e9;
  }

  .layer .timeClick .box .top {
    display: flex;
    align-items: center;
  }

  .pop-container {
    background-color: transparent;
  }

  .shop-list-container {

    .scroll-view {
      .card-conn-wrap {
        padding: 24rpx 32rpx 0;
        background-color: #f1f1f1;
      }
    }
  }

  .current-shop {
    padding: 38rpx 32rpx 32rpx;
    box-sizing: border-box;
    background: #FFFFFF;
    display: flex;
    flex-flow: column;

    .bottom-wrap {
      flex: 1;
      overflow: hidden;
      display: flex;
      justify-content: space-between;

      .left-info {
        display: flex;
        flex-flow: column;

        .address {
          height: 34rpx;
          font-size: 24rpx;
          font-weight: bold;
          color: #8C8C8C;
          line-height: 28rpx;
        }

        .number-tag {
          margin-top: 32rpx;
          height: 40rpx;
          border-radius: 88rpx;
          border: 2rpx solid #C5996A;
          box-sizing: border-box;
          width: 168rpx;
          display: flex;
          align-items: center;
          justify-content: center;

          .number {
            font-size: 20rpx;
            font-weight: bold;
            color: #C5996A;
          }
        }
      }

      .right-info {
        display: flex;
        gap: 30rpx;
        align-items: center;
        padding-top: 30rpx;
        box-sizing: border-box;
        flex-shrink: 0;

        .icon-item {
          display: flex;
          align-items: center;
          flex-flow: column;
          justify-content: center;
          border: 0;
          background: none;
          margin: 0;
          padding: 0;
          outline: none;

          &::after {
            border: 0;
          }

          .icon {
            width: 56rpx;
            height: 56rpx;
          }

          .icon-text {
            height: 34rpx;
            font-size: 24rpx;
            font-weight: bold;
            margin-top: 4rpx;
            color: #333333;
            line-height: 28rpx;
          }
        }
      }

    }


    .top-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;

      // animation
      .right-btn {
        width: 204rpx;
        height: 60rpx;
        background: #C5996A;
        border-radius: 88rpx;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: scale 2s ease infinite;
        animation-direction: alternate;


        .btn-title {
          font-size: 28rpx;
          font-weight: bold;
          color: #FFFFFF;
          height: 36rpx;
          line-height: 36rpx;
        }

        .chevron {
          width: 36rpx;
          height: 36rpx;
        }
      }

      .left-wrap {
        display: flex;
        align-items: center;

        .shop-name {
          height: 44rpx;
          font-size: 32rpx;
          font-weight: bold;
          color: #333333;
          line-height: 38rpx;
        }

        .shop-img {
          width: 40rpx;
          height: 40rpx;
        }
      }
    }
  }

  .header-wrapper {
    width: 100%;
    box-sizing: border-box;
    //height: var(--height);
    height: 466rpx;
    //padding-top: calc(var(--height) + 24rpx);
    .header-body {
      position: absolute;
      top: 82rpx;
      z-index: 2;
      left: 0;
      right: 0;

      .header-top {
        padding: 0 40rpx;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 2;
        width: 100%;
        background: transparent;

        .left-wrap {
          display: flex;

          .logo {
            //width: 176rpx;
            //height: 118rpx;
            width: 100rpx;
            height: 100rpx;
            margin-right: 24rpx;
          }

          .tip {
            height: 48rpx;
            font-size: 16rpx;
            font-weight: 400;
            color: #333333;
            line-height: 48rpx;
            align-self: flex-end;

          }
        }

        .notice-icon {
          width: 34rpx;
          height: 34rpx;
        }

      }

      .header-menus {
        z-index: 2;
        margin-top: 26rpx;
        padding: 0 68rpx;
        box-sizing: border-box;
        width: 100%;
        display: flex;
        flex-flow: row nowrap;
        background: transparent;

        .menu-item {
          display: flex;
          flex-flow: column;
          align-items: center;
          justify-content: center;
          flex: 1;

          .menu-icon {
            width: 64rpx;
            height: 64rpx;
          }

          .menu-title {
            font-size: 32rpx;
            font-weight: bold;
            color: #000000;
            margin-top: 12rpx;
          }
        }
      }
    }


    .bg {
      width: 100%;
      height: 466rpx;
      position: absolute;
      left: 0;
      top: 0;
      right: 0;
      z-index: 1;
    }
  }

  .status-bar {
    width: 100%;
    height: var(--height);
  }

  .center-image {
    position: relative;
    font-size: 0;

    .tag-container {
      position: absolute;
      bottom: 20rpx;
      left: 32rpx;
      display: flex;
      flex-flow: row nowrap;

      .tag-item {
        padding: 8rpx 20rpx;
        box-sizing: border-box;
        background: rgba(51, 51, 51, 0.7);
        border-radius: 88rpx;
        margin-right: 12rpx;

        .tag {
          font-size: 20rpx;
          font-weight: bold;
          color: #FFFFFF;
          line-height: 23rpx;
        }
      }
    }

    .swiper {
      height: 276rpx;

    }

    .image {
      width: 100%;
      height: 276rpx;
    }
  }
}
